import request from '@/utils/request'

// 新增月度单品消耗
export const addMonthlyProductConsumptionApi = (data) => {
  return request({
    url: '/ecm-microservice-biz/ecm/monthly/product/consumption/add',
    method: 'post',
    data
  })
}

// 查询曲线信息
export const getMonthlyProductConsumptionLineApi = (params) => {
  return request({
    url: '/ecm-microservice-biz/ecm/monthly/product/consumption/line',
    method: 'get',
    params
  })
}

// 查询列表信息
export const getMonthlyProductConsumptionListApi = (params) => {
  return request({
    url: '/ecm-microservice-biz/ecm/monthly/product/consumption/list',
    method: 'get',
    params
  })
}
